package com.jhgsys.internal.hazard.service;

import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jhgsys.internal.hazard.entity.HazardExamineTeamUser;

import java.util.List;

/**
 *  Service接口
 *
 * @author zhangwei
 * @date 2024-09-02 11:28:59
 */
public interface IHazardExamineTeamUserService extends IService<HazardExamineTeamUser> {
    /**
     * 查询（分页）
     * @author zhangwei
     * @date 2024-09-02 11:28:59
     * @param request QueryRequest
     * @param hazardExamineTeamUser hazardExamineTeamUser
     * @return IPage<HazardExamineTeamUser>
     */
    IPage<HazardExamineTeamUser> findHazardExamineTeamUserPage(QueryRequest request, HazardExamineTeamUser hazardExamineTeamUser);

    /**
     * 查询（所有）
     * @author zhangwei
     * @date 2024-09-02 11:28:59
     * @param hazardExamineTeamUser hazardExamineTeamUser
     * @return List<HazardExamineTeamUser>
     */
    List<HazardExamineTeamUser> findHazardExamineTeamUserList(HazardExamineTeamUser hazardExamineTeamUser);

    /**
    * 根据ID查询
    * @author zhangwei
    * @date 2024-09-02 11:28:59
    * @param id
    * @return HazardExamineTeamUser
    */
    HazardExamineTeamUser findHazardExamineTeamUserById(String id);

    /**
     * 新增
     * @author zhangwei
     * @date 2024-09-02 11:28:59
     * @param hazardExamineTeamUser hazardExamineTeamUser
     */
    void createHazardExamineTeamUser(HazardExamineTeamUser hazardExamineTeamUser);

    /**
     * 修改
     * @author zhangwei
     * @date 2024-09-02 11:28:59
     * @param hazardExamineTeamUser hazardExamineTeamUser
     */
    void updateHazardExamineTeamUser(HazardExamineTeamUser hazardExamineTeamUser);

    /**
     * 逻辑删除
     * @author zhangwei
     * @date 2024-09-02 11:28:59
     * @param hazardExamineTeamUser hazardExamineTeamUser
     * @param hazardExamineTeamUserIds hazardExamineTeamUserIds
     */
    void deleteHazardExamineTeamUser(HazardExamineTeamUser hazardExamineTeamUser,String hazardExamineTeamUserIds);

    /**
    * 物理删除
    * @author zhangwei
    * @date 2024-09-02 11:28:59
    * @param hazardExamineTeamUserIds hazardExamineTeamUserIds
    */
    void physicallyDeleteHazardExamineTeamUser(String hazardExamineTeamUserIds);

    /**
     * 根据检查小组id删除
     * @author admin
     * @date 2024-08-14 09:56:15
     * @param teamIds
     */
    void deleteByTeamIds(String teamIds);

    /**
     * 根据teamId查询成员
     * @date 2024-09-12 11:28:59
     * @param teamIds 检查组id
     * @return List<HazardExamineTeamUser>
     */
    List<HazardExamineTeamUser> findByTeamIds(String teamIds);
}
